<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="op_app_status clearfix">
   	<div class="list_app_name op_app_pic">
            <div class="app_pic appPic_80">
             	<a class="app_pic_bg"></a>
             	<img class="app_img" src="http://timg.sjs.sinajs.cn/t35/appstyle/opent/images/app/apppic.png" alt="">
            </div>
            <p class="name">${appDetailsDto.webName}</p>
            <p class="appkey">App Key:<em>${appDetailsDto.clientId}</em></p>
            <p class="app_type_note">微连接 - web</p>
       </div>
       <div class="fr" id="pl_applyApp">
       	<input name="clientId" value="${appDetailsDto.clientId}" type="hidden">
         	<p class="W_f14">应用状态：</p>
        <div class="op_app_progress_box clearfix">
       		<c:choose>
           		<c:when test="${appDetailsDto.status == 0 || appDetailsDto.status == 1}">
           			<div id="n1"  class="op_app_progress  n4 p2 ">
						<ul class="step">
							<li class="no4 last"><span>上线</span></li>
							<li class="no3"><span>审核</span></li>
							<li class="no2"><span>开发</span></li>
							<li class="no1"><span>申请</span></li>   
						</ul>
			        </div>
           		</c:when>
           		<c:when test="${appDetailsDto.status == 2}">
           			<div id="n1"  class="op_app_progress  n4 p3 ">
						<ul class="step">
							<li class="no4 last"><span>上线</span></li>
							<li class="no3"><span>审核</span></li>
							<li class="no2"><span>开发</span></li>
							<li class="no1"><span>申请</span></li>   
						</ul>
			        </div>
           		</c:when>
           		<c:when test="${appDetailsDto.status == 3}">
           			<div id="n1"  class="op_app_progress  n4 p4 ">
						<ul class="step">
							<li class="no4 last"><span>上线</span></li>
							<li class="no3"><span>审核</span></li>
							<li class="no2"><span>开发</span></li>
							<li class="no1"><span>申请</span></li>   
						</ul>
			        </div>
           		</c:when>
           	</c:choose>
           	<c:choose>
				<c:when test="${appDetailsDto.status == 0 }">
					<a href="javascript:;" class="W_btnM_c W_btnM_c_dis" ><span>提交审核</span></a>
				</c:when>
				<c:when test="${appDetailsDto.status == 1}">
					<a href="${contextPath}/portal/web/updateAppStatus?appId=${appDetailsDto.appId}&status=2" class="W_btnM_c W_btnM_c_dis" ><span>提交审核</span></a>
				</c:when>
				<c:otherwise>
				</c:otherwise>
			</c:choose>
       </div>
         <p class="W_f14">基本状态：</p>
         <div class="op_tips W_borb">
             <span class="icon_warn"></span>
             <p>
             	<c:choose>
             		<c:when test="${appDetailsDto.status == 0 }">
             			<span class="W_f14">尚未提交审核，您还需要：完善应用信息</span>
             		</c:when>
             		<c:when test="${appDetailsDto.status == 1}">
             			<span class="W_f14">尚未提交审核</span>
             		</c:when>
             		<c:when test="${appDetailsDto.status == 2}">
             			<span class="W_f14">你的应用<em class="app">"${appDetailsDto.webName}"</em>来源审核中</span>
            			<span class="martop1">审核结果将在一个工作日内反馈（如遇特殊情况，审核周期将会相应延长）</span>
             		</c:when>
             		<c:when test="${appDetailsDto.status == 3}">
             			<span class="W_f14">已通过审核</span>
             		</c:when>
             	</c:choose>
             </p>
         </div>
       </div>
  </div>
  <script type="text/javascript" charset="utf-8">
		$(document).ready(function() {
			$("body").removeClass().addClass("B_op_webmaster");
		});
	</script>
